package com.membership.stumembership.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import lombok.Value;
@Data
@TableName("m_student")
public class Student {
    @TableId(value = "stu_id", type = IdType.AUTO)
    private Integer stuId;
    @TableField(value = "stu_name")
    private String stuName;
    @TableField(value = "stu_age")
    private Integer stuAge;
    @TableField(value = "stu_sex")
    private String stuSex;
    @TableField(value = "mid")
    private Integer mid;
    @TableField(value = "stu_reCord")
    private String stuReCord;
    @TableField(value = "stu_ageOne")
    private Integer stuAgeOne;
    @TableField(value = "stu_ageTwo")
    private Integer stuAgeTwo;
    @TableField(exist = false)
    private Membership m;
}
